<template>
    <div>
        <img src="/assets/ico/top/search.png" class="search_ico"/>
        <input class="mainBgc m_s_i" placeholder="搜索你感兴趣的内容" v-model="search" @keyup.enter="FnSearch"/>
    </div>
</template>

<script>
    export default {
        name: "Search",
        data(){
            return {
                search: ''
            }
        },
        methods: {
            FnSearch(){
            }
        }
    }
</script>

<style scoped>
    .m_s_i{
        border: 0;
        background-color: rgb(33, 33, 33);
        border-radius: 10px;
        height: 30px;
        width: 400px;
        padding-left: 30px;
        outline: none;
    }
    .search_ico{
        position: absolute;
        margin-top: 3px;
        margin-left: 5px;
    }
</style>